package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
//对应network表
@TableName("network")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Network {
    @TableId(type = IdType.AUTO)
    private Long rankNum;
    private String question;
    private String answer;
}